Repository navigation
Conversation
- framework 主源码删除 springboot-starter-script 编译依赖(仅 test scope 保留集成测试引擎),由 FrameworkScriptDependencyTest 守护 - 新增 IScriptExecutor / IScriptResolver / IScriptEditor 三端口与 FlowScriptGatewayContext(显式注册优先,ServiceLoader 兜底) - 自有 @FlowScriptRef 注解与 ScriptRefScanner 替代外部注解扫描器;流程定义 script 字段为不透明引用,framework 不生成、不改写 key - 删除 getGroovyScript 回退通道与强制 key 归一化;FlowGroovyScriptFactory 下移 infra-groovy;DefaultScriptRegistry 直接返回脚本文本 - infra 改 pom 聚合:infra-db(原 JPA 实现包名不变)/ infra-groovy(脚本能力与三类脚本持久化,从 example 迁入 12 个类) - infra-groovy 提供 key(默认)与 inline(flow.script.ref-mode=inline)两套 Gateway 实现,@ConditionalOnMissingBean 保留接入方自定义优先 - 文档同批更新:README / AGENTS / Integration / capabilities / model-design - 验证:./mvnw -o clean install 通过,583 用例 0 失败;新增架构守护、端口契约与 inline 模式用例 Closes #316
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
按 issue #316 确认后的方案重做(原 PR #318 已作废关闭)。目标是把 Groovy 脚本执行能力下放到 infra 层,framework 只保留抽象端口,不再依赖脚本引擎、也不再把脚本引用强制为 key。
改动
springboot-starter-script编译依赖(仅 test scope 保留),由FrameworkScriptDependencyTest守护IScriptExecutor/IScriptResolver/IScriptEditor三端口与FlowScriptGatewayContext(显式注册优先,ServiceLoader 兜底)@FlowScriptRef+ScriptRefScanner替代外部注解扫描器;流程定义脚本字段为不透明String引用,framework 不生成、不改写 keygetGroovyScript回退通道与强制 key 归一化;FlowGroovyScriptFactory下移 infra-groovy;DefaultScriptRegistry直接返回脚本文本infra-db(原 JPA 包名不变)/infra-groovy(脚本能力 + 从 example 迁入 12 个脚本持久化类)flow.script.ref-mode=inline)两套 Gateway 实现,@ConditionalOnMissingBean保证接入方自定义优先验证
./mvnw -o clean install通过说明
本 PR 仅推送特性分支,不合并 dev,是否合并由人工决定。前端配套见 codingapi/flow-frontend 同名分支。
Closes #316